package com.esms.service.impl;

import com.esms.dao.WeekCheckMapper;
import com.esms.po.WeekResultInfoMent;
import com.esms.service.IEmployeeWeekCheckServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : [ko]
 * @version : [v1.0]
 * @description : [周纪实审核实现处理]
 * @createTime : [2022/3/6 9:26]
 * @updateUser : [ko]
 * @updateTime : [2022/3/6 9:26]
 * @updateRemark : [说明本次修改内容]
 */
@Service
public class EmployeeWeekCheckServerImpl implements IEmployeeWeekCheckServer {

	@Autowired
	private WeekCheckMapper weekCheckMapper = null;

	@Override
	public int insertWeekCheckInfo(WeekResultInfoMent weekRecordInfoMent) {
		return weekCheckMapper.insertWeekCheckInfo(weekRecordInfoMent);
	}

	@Override
	public List<WeekResultInfoMent> getEmpWeekResultList(WeekResultInfoMent wWeekMent) {
		return weekCheckMapper.selectWeekResultInfo(wWeekMent);
	}

	@Override
	public int updateByPrimaryKeySelective(WeekResultInfoMent wWeekMent) {
		return weekCheckMapper.updateByPrimaryKeySelective(wWeekMent);
	}

	@Override
	public List<WeekResultInfoMent> findWeekResultInfoSelective(WeekResultInfoMent wWeekMent) {
		return weekCheckMapper.findWeekResultInfoSelective(wWeekMent);
	}

	@Override
	public WeekResultInfoMent findWeekResultInfo(WeekResultInfoMent wWeekMent) {
		return weekCheckMapper.findWeekResultInfo(wWeekMent);
	}

}
